//package com.example.demo.dao;
//
//import com.example.demo.entity.User;
//import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
//import org.springframework.stereotype.Repository;
//
//import java.util.List;
//
//@Repository
//public interface UserDao extends ElasticsearchRepository<User, Long> {
//
//    List<User> findByName(String name);
//
//    List<User> findByNameAndAge(String name, Integer age);
//
//    List<User> findByOrderByAgeDesc();
//
//}
